package com.medusa.aps.business;

import com.medusa.aps.business.properties.ApsProperties;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author yuxianhui
 * @since 2023/8/16
 */
@Slf4j
@SpringBootApplication
@EnableAsync
@EnableScheduling
@EnableCaching
@EnableTransactionManagement
@EnableConfigurationProperties(ApsProperties.class)
public class ApsBusinessApplication {

    public static void main(String[] args) {
        SpringApplication.run(ApsBusinessApplication.class, args);
        log.info("----WebApplication 启动完成-----");
    }
}
